import Http from '../Http.js'

export class User {
	// 用户登录接口
	static userLogin(data) {
		return Http.request({
			method: 'POST',
			url: '/api/user/login',
			data
		})
	}
	
	// 用户注册接口
	static userRegister(data) {
		return Http.request({
			method: 'POST',
			url: '/api/user/regUser',
			data
		})
	}
}
